home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
dev
/
debug
/
memlib.lha
/
READ.ME
< prev
next >
Wrap
Text File
|
1996-05-16
|
579b
|
26 lines
To see MemLib in action, do the following:
1. Compile and link the example program:
sc example.c link
2. Run the example program:
example
Note that nothing seems to happen. The program has several bugs, but
they don't get caught!
3. Recompile, but this time enable memory debugging:
sc example.c link define MWDEBUG=1 lib memwatch.lib
4. Run the program again:
example
This time the MemWatch library caught the errors and told you
exactly where they occurred.
See the file "memlib.doc" for information on using memlib.